Optimal. Leaf size=635 \[ \frac{6 b^2 B g^3 (b c-a d) \text{PolyLog}\left (2,\frac{d (a+b x)}{b (c+d x)}\right ) \left (B \log \left (\frac{e (a+b x)}{c+d x}\right )+A\right )}{d^4 i^3}+\frac{2 b^2 B^2 g^3 (b c-a d) \text{PolyLog}\left (2,\frac{d (a+b x)}{b (c+d x)}\right )}{d^4 i^3}-\frac{6 b^2 B^2 g^3 (b c-a d) \text{PolyLog}\left (3,\frac{d (a+b x)}{b (c+d x)}\right )}{d^4 i^3}+\frac{b^2 g^3 (a+b x) \left (B \log \left (\frac{e (a+b x)}{c+d x}\right )+A\right )^2}{d^3 i^3}+\frac{3 b^2 g^3 (b c-a d) \log \left (\frac{b c-a d}{b (c+d x)}\right ) \left (B \log \left (\frac{e (a+b x)}{c+d x}\right )+A\right )^2}{d^4 i^3}+\frac{2 b^2 B g^3 (b c-a d) \log \left (\frac{b c-a d}{b (c+d x)}\right ) \left (B \log \left (\frac{e (a+b x)}{c+d x}\right )+A\right )}{d^4 i^3}+\frac{2 b g^3 (a+b x) (b c-a d) \left (B \log \left (\frac{e (a+b x)}{c+d x}\right )+A\right )^2}{d^3 i^3 (c+d x)}+\frac{g^3 (a+b x)^2 (b c-a d) \left (B \log \left (\frac{e (a+b x)}{c+d x}\right )+A\right )^2}{2 d^2 i^3 (c+d x)^2}-\frac{B g^3 (a+b x)^2 (b c-a d) \left (B \log \left (\frac{e (a+b x)}{c+d x}\right )+A\right )}{2 d^2 i^3 (c+d x)^2}-\frac{4 A b B g^3 (a+b x) (b c-a d)}{d^3 i^3 (c+d x)}-\frac{4 b B^2 g^3 (a+b x) (b c-a d) \log \left (\frac{e (a+b x)}{c+d x}\right )}{d^3 i^3 (c+d x)}+\frac{4 b B^2 g^3 (a+b x) (b c-a d)}{d^3 i^3 (c+d x)}+\frac{B^2 g^3 (a+b x)^2 (b c-a d)}{4 d^2 i^3 (c+d x)^2} \]
[Out]
________________________________________________________________________________________
Rubi [B] time = 6.24144, antiderivative size = 1890, normalized size of antiderivative = 2.98, number of steps used = 124, number of rules used = 26, integrand size = 42, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.619, Rules used = {2528, 2523, 12, 2524, 2418, 2390, 2301, 2394, 2393, 2391, 2525, 44, 6688, 6742, 2500, 2433, 2375, 2317, 2374, 6589, 2440, 2434, 2499, 2396, 2302, 30} \[ \text{result too large to display} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2528
Rule 2523
Rule 12
Rule 2524
Rule 2418
Rule 2390
Rule 2301
Rule 2394
Rule 2393
Rule 2391
Rule 2525
Rule 44
Rule 6688
Rule 6742
Rule 2500
Rule 2433
Rule 2375
Rule 2317
Rule 2374
Rule 6589
Rule 2440
Rule 2434
Rule 2499
Rule 2396
Rule 2302
Rule 30
Rubi steps
\begin{align*} \int \frac{(a g+b g x)^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{(100 c+100 d x)^3} \, dx &=\int \left (\frac{b^3 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{1000000 d^3}+\frac{(-b c+a d)^3 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{1000000 d^3 (c+d x)^3}+\frac{3 b (b c-a d)^2 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{1000000 d^3 (c+d x)^2}-\frac{3 b^2 (b c-a d) g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{1000000 d^3 (c+d x)}\right ) \, dx\\ &=\frac{\left (b^3 g^3\right ) \int \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2 \, dx}{1000000 d^3}-\frac{\left (3 b^2 (b c-a d) g^3\right ) \int \frac{\left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{c+d x} \, dx}{1000000 d^3}+\frac{\left (3 b (b c-a d)^2 g^3\right ) \int \frac{\left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{(c+d x)^2} \, dx}{1000000 d^3}-\frac{\left ((b c-a d)^3 g^3\right ) \int \frac{\left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{(c+d x)^3} \, dx}{1000000 d^3}\\ &=\frac{b^3 g^3 x \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{1000000 d^3}+\frac{(b c-a d)^3 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{2000000 d^4 (c+d x)^2}-\frac{3 b (b c-a d)^2 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{1000000 d^4 (c+d x)}-\frac{3 b^2 (b c-a d) g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2 \log (c+d x)}{1000000 d^4}-\frac{\left (b^3 B g^3\right ) \int \frac{(b c-a d) x \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{(a+b x) (c+d x)} \, dx}{500000 d^3}+\frac{\left (3 b^2 B (b c-a d) g^3\right ) \int \frac{(c+d x) \left (-\frac{d e (a+b x)}{(c+d x)^2}+\frac{b e}{c+d x}\right ) \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{e (a+b x)} \, dx}{500000 d^4}+\frac{\left (3 b B (b c-a d)^2 g^3\right ) \int \frac{(b c-a d) \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{(a+b x) (c+d x)^2} \, dx}{500000 d^4}-\frac{\left (B (b c-a d)^3 g^3\right ) \int \frac{(b c-a d) \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{(a+b x) (c+d x)^3} \, dx}{1000000 d^4}\\ &=\frac{b^3 g^3 x \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{1000000 d^3}+\frac{(b c-a d)^3 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{2000000 d^4 (c+d x)^2}-\frac{3 b (b c-a d)^2 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{1000000 d^4 (c+d x)}-\frac{3 b^2 (b c-a d) g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2 \log (c+d x)}{1000000 d^4}-\frac{\left (b^3 B (b c-a d) g^3\right ) \int \frac{x \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{(a+b x) (c+d x)} \, dx}{500000 d^3}+\frac{\left (3 b B (b c-a d)^3 g^3\right ) \int \frac{A+B \log \left (\frac{e (a+b x)}{c+d x}\right )}{(a+b x) (c+d x)^2} \, dx}{500000 d^4}-\frac{\left (B (b c-a d)^4 g^3\right ) \int \frac{A+B \log \left (\frac{e (a+b x)}{c+d x}\right )}{(a+b x) (c+d x)^3} \, dx}{1000000 d^4}+\frac{\left (3 b^2 B (b c-a d) g^3\right ) \int \frac{(c+d x) \left (-\frac{d e (a+b x)}{(c+d x)^2}+\frac{b e}{c+d x}\right ) \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{a+b x} \, dx}{500000 d^4 e}\\ &=\frac{b^3 g^3 x \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{1000000 d^3}+\frac{(b c-a d)^3 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{2000000 d^4 (c+d x)^2}-\frac{3 b (b c-a d)^2 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{1000000 d^4 (c+d x)}-\frac{3 b^2 (b c-a d) g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2 \log (c+d x)}{1000000 d^4}-\frac{\left (b^3 B (b c-a d) g^3\right ) \int \left (-\frac{a \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{(b c-a d) (a+b x)}+\frac{c \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{(b c-a d) (c+d x)}\right ) \, dx}{500000 d^3}+\frac{\left (3 b B (b c-a d)^3 g^3\right ) \int \left (\frac{b^2 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{(b c-a d)^2 (a+b x)}-\frac{d \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{(b c-a d) (c+d x)^2}-\frac{b d \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{(b c-a d)^2 (c+d x)}\right ) \, dx}{500000 d^4}-\frac{\left (B (b c-a d)^4 g^3\right ) \int \left (\frac{b^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{(b c-a d)^3 (a+b x)}-\frac{d \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{(b c-a d) (c+d x)^3}-\frac{b d \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{(b c-a d)^2 (c+d x)^2}-\frac{b^2 d \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{(b c-a d)^3 (c+d x)}\right ) \, dx}{1000000 d^4}+\frac{\left (3 b^2 B (b c-a d) g^3\right ) \int \frac{(b c-a d) e \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{(a+b x) (c+d x)} \, dx}{500000 d^4 e}\\ &=\frac{b^3 g^3 x \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{1000000 d^3}+\frac{(b c-a d)^3 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{2000000 d^4 (c+d x)^2}-\frac{3 b (b c-a d)^2 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{1000000 d^4 (c+d x)}-\frac{3 b^2 (b c-a d) g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2 \log (c+d x)}{1000000 d^4}+\frac{\left (a b^3 B g^3\right ) \int \frac{A+B \log \left (\frac{e (a+b x)}{c+d x}\right )}{a+b x} \, dx}{500000 d^3}-\frac{\left (b^3 B c g^3\right ) \int \frac{A+B \log \left (\frac{e (a+b x)}{c+d x}\right )}{c+d x} \, dx}{500000 d^3}-\frac{\left (b^3 B (b c-a d) g^3\right ) \int \frac{A+B \log \left (\frac{e (a+b x)}{c+d x}\right )}{a+b x} \, dx}{1000000 d^4}+\frac{\left (3 b^3 B (b c-a d) g^3\right ) \int \frac{A+B \log \left (\frac{e (a+b x)}{c+d x}\right )}{a+b x} \, dx}{500000 d^4}+\frac{\left (b^2 B (b c-a d) g^3\right ) \int \frac{A+B \log \left (\frac{e (a+b x)}{c+d x}\right )}{c+d x} \, dx}{1000000 d^3}-\frac{\left (3 b^2 B (b c-a d) g^3\right ) \int \frac{A+B \log \left (\frac{e (a+b x)}{c+d x}\right )}{c+d x} \, dx}{500000 d^3}+\frac{\left (3 b^2 B (b c-a d)^2 g^3\right ) \int \frac{\left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{(a+b x) (c+d x)} \, dx}{500000 d^4}+\frac{\left (b B (b c-a d)^2 g^3\right ) \int \frac{A+B \log \left (\frac{e (a+b x)}{c+d x}\right )}{(c+d x)^2} \, dx}{1000000 d^3}-\frac{\left (3 b B (b c-a d)^2 g^3\right ) \int \frac{A+B \log \left (\frac{e (a+b x)}{c+d x}\right )}{(c+d x)^2} \, dx}{500000 d^3}+\frac{\left (B (b c-a d)^3 g^3\right ) \int \frac{A+B \log \left (\frac{e (a+b x)}{c+d x}\right )}{(c+d x)^3} \, dx}{1000000 d^3}\\ &=-\frac{B (b c-a d)^3 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{2000000 d^4 (c+d x)^2}+\frac{b B (b c-a d)^2 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{200000 d^4 (c+d x)}+\frac{a b^2 B g^3 \log (a+b x) \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{500000 d^3}+\frac{b^2 B (b c-a d) g^3 \log (a+b x) \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{200000 d^4}+\frac{b^3 g^3 x \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{1000000 d^3}+\frac{(b c-a d)^3 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{2000000 d^4 (c+d x)^2}-\frac{3 b (b c-a d)^2 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{1000000 d^4 (c+d x)}-\frac{b^3 B c g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{500000 d^4}-\frac{b^2 B (b c-a d) g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{200000 d^4}-\frac{3 b^2 (b c-a d) g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2 \log (c+d x)}{1000000 d^4}+\frac{\left (b^3 B^2 c g^3\right ) \int \frac{(c+d x) \left (-\frac{d e (a+b x)}{(c+d x)^2}+\frac{b e}{c+d x}\right ) \log (c+d x)}{e (a+b x)} \, dx}{500000 d^4}-\frac{\left (a b^2 B^2 g^3\right ) \int \frac{(c+d x) \left (-\frac{d e (a+b x)}{(c+d x)^2}+\frac{b e}{c+d x}\right ) \log (a+b x)}{e (a+b x)} \, dx}{500000 d^3}+\frac{\left (b^2 B^2 (b c-a d) g^3\right ) \int \frac{(c+d x) \left (-\frac{d e (a+b x)}{(c+d x)^2}+\frac{b e}{c+d x}\right ) \log (a+b x)}{e (a+b x)} \, dx}{1000000 d^4}-\frac{\left (b^2 B^2 (b c-a d) g^3\right ) \int \frac{(c+d x) \left (-\frac{d e (a+b x)}{(c+d x)^2}+\frac{b e}{c+d x}\right ) \log (c+d x)}{e (a+b x)} \, dx}{1000000 d^4}-\frac{\left (3 b^2 B^2 (b c-a d) g^3\right ) \int \frac{(c+d x) \left (-\frac{d e (a+b x)}{(c+d x)^2}+\frac{b e}{c+d x}\right ) \log (a+b x)}{e (a+b x)} \, dx}{500000 d^4}+\frac{\left (3 b^2 B^2 (b c-a d) g^3\right ) \int \frac{(c+d x) \left (-\frac{d e (a+b x)}{(c+d x)^2}+\frac{b e}{c+d x}\right ) \log (c+d x)}{e (a+b x)} \, dx}{500000 d^4}+\frac{\left (3 b^2 B (b c-a d)^2 g^3\right ) \int \left (\frac{b \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{(b c-a d) (a+b x)}-\frac{d \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{(b c-a d) (c+d x)}\right ) \, dx}{500000 d^4}+\frac{\left (b B^2 (b c-a d)^2 g^3\right ) \int \frac{b c-a d}{(a+b x) (c+d x)^2} \, dx}{1000000 d^4}-\frac{\left (3 b B^2 (b c-a d)^2 g^3\right ) \int \frac{b c-a d}{(a+b x) (c+d x)^2} \, dx}{500000 d^4}+\frac{\left (B^2 (b c-a d)^3 g^3\right ) \int \frac{b c-a d}{(a+b x) (c+d x)^3} \, dx}{2000000 d^4}\\ &=-\frac{B (b c-a d)^3 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{2000000 d^4 (c+d x)^2}+\frac{b B (b c-a d)^2 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{200000 d^4 (c+d x)}+\frac{a b^2 B g^3 \log (a+b x) \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{500000 d^3}+\frac{b^2 B (b c-a d) g^3 \log (a+b x) \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{200000 d^4}+\frac{b^3 g^3 x \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{1000000 d^3}+\frac{(b c-a d)^3 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{2000000 d^4 (c+d x)^2}-\frac{3 b (b c-a d)^2 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{1000000 d^4 (c+d x)}-\frac{b^3 B c g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{500000 d^4}-\frac{b^2 B (b c-a d) g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{200000 d^4}-\frac{3 b^2 (b c-a d) g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2 \log (c+d x)}{1000000 d^4}+\frac{\left (3 b^3 B (b c-a d) g^3\right ) \int \frac{\left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{a+b x} \, dx}{500000 d^4}-\frac{\left (3 b^2 B (b c-a d) g^3\right ) \int \frac{\left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{c+d x} \, dx}{500000 d^3}+\frac{\left (b B^2 (b c-a d)^3 g^3\right ) \int \frac{1}{(a+b x) (c+d x)^2} \, dx}{1000000 d^4}-\frac{\left (3 b B^2 (b c-a d)^3 g^3\right ) \int \frac{1}{(a+b x) (c+d x)^2} \, dx}{500000 d^4}+\frac{\left (B^2 (b c-a d)^4 g^3\right ) \int \frac{1}{(a+b x) (c+d x)^3} \, dx}{2000000 d^4}+\frac{\left (b^3 B^2 c g^3\right ) \int \frac{(c+d x) \left (-\frac{d e (a+b x)}{(c+d x)^2}+\frac{b e}{c+d x}\right ) \log (c+d x)}{a+b x} \, dx}{500000 d^4 e}-\frac{\left (a b^2 B^2 g^3\right ) \int \frac{(c+d x) \left (-\frac{d e (a+b x)}{(c+d x)^2}+\frac{b e}{c+d x}\right ) \log (a+b x)}{a+b x} \, dx}{500000 d^3 e}+\frac{\left (b^2 B^2 (b c-a d) g^3\right ) \int \frac{(c+d x) \left (-\frac{d e (a+b x)}{(c+d x)^2}+\frac{b e}{c+d x}\right ) \log (a+b x)}{a+b x} \, dx}{1000000 d^4 e}-\frac{\left (b^2 B^2 (b c-a d) g^3\right ) \int \frac{(c+d x) \left (-\frac{d e (a+b x)}{(c+d x)^2}+\frac{b e}{c+d x}\right ) \log (c+d x)}{a+b x} \, dx}{1000000 d^4 e}-\frac{\left (3 b^2 B^2 (b c-a d) g^3\right ) \int \frac{(c+d x) \left (-\frac{d e (a+b x)}{(c+d x)^2}+\frac{b e}{c+d x}\right ) \log (a+b x)}{a+b x} \, dx}{500000 d^4 e}+\frac{\left (3 b^2 B^2 (b c-a d) g^3\right ) \int \frac{(c+d x) \left (-\frac{d e (a+b x)}{(c+d x)^2}+\frac{b e}{c+d x}\right ) \log (c+d x)}{a+b x} \, dx}{500000 d^4 e}\\ &=-\frac{B (b c-a d)^3 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{2000000 d^4 (c+d x)^2}+\frac{b B (b c-a d)^2 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{200000 d^4 (c+d x)}+\frac{a b^2 B g^3 \log (a+b x) \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{500000 d^3}+\frac{b^2 B (b c-a d) g^3 \log (a+b x) \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{200000 d^4}+\frac{b^3 g^3 x \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{1000000 d^3}+\frac{(b c-a d)^3 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{2000000 d^4 (c+d x)^2}-\frac{3 b (b c-a d)^2 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{1000000 d^4 (c+d x)}-\frac{b^3 B c g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{500000 d^4}-\frac{b^2 B (b c-a d) g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{200000 d^4}-\frac{3 b^2 (b c-a d) g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2 \log (c+d x)}{1000000 d^4}+\frac{\left (3 b^3 B (b c-a d) g^3\right ) \int \left (\frac{A \log (c+d x)}{a+b x}+\frac{B \log \left (\frac{e (a+b x)}{c+d x}\right ) \log (c+d x)}{a+b x}\right ) \, dx}{500000 d^4}-\frac{\left (3 b^2 B (b c-a d) g^3\right ) \int \left (\frac{A \log (c+d x)}{c+d x}+\frac{B \log \left (\frac{e (a+b x)}{c+d x}\right ) \log (c+d x)}{c+d x}\right ) \, dx}{500000 d^3}+\frac{\left (b B^2 (b c-a d)^3 g^3\right ) \int \left (\frac{b^2}{(b c-a d)^2 (a+b x)}-\frac{d}{(b c-a d) (c+d x)^2}-\frac{b d}{(b c-a d)^2 (c+d x)}\right ) \, dx}{1000000 d^4}-\frac{\left (3 b B^2 (b c-a d)^3 g^3\right ) \int \left (\frac{b^2}{(b c-a d)^2 (a+b x)}-\frac{d}{(b c-a d) (c+d x)^2}-\frac{b d}{(b c-a d)^2 (c+d x)}\right ) \, dx}{500000 d^4}+\frac{\left (B^2 (b c-a d)^4 g^3\right ) \int \left (\frac{b^3}{(b c-a d)^3 (a+b x)}-\frac{d}{(b c-a d) (c+d x)^3}-\frac{b d}{(b c-a d)^2 (c+d x)^2}-\frac{b^2 d}{(b c-a d)^3 (c+d x)}\right ) \, dx}{2000000 d^4}+\frac{\left (b^3 B^2 c g^3\right ) \int \left (\frac{b e \log (c+d x)}{a+b x}-\frac{d e \log (c+d x)}{c+d x}\right ) \, dx}{500000 d^4 e}-\frac{\left (a b^2 B^2 g^3\right ) \int \left (\frac{b e \log (a+b x)}{a+b x}-\frac{d e \log (a+b x)}{c+d x}\right ) \, dx}{500000 d^3 e}+\frac{\left (b^2 B^2 (b c-a d) g^3\right ) \int \left (\frac{b e \log (a+b x)}{a+b x}-\frac{d e \log (a+b x)}{c+d x}\right ) \, dx}{1000000 d^4 e}-\frac{\left (b^2 B^2 (b c-a d) g^3\right ) \int \left (\frac{b e \log (c+d x)}{a+b x}-\frac{d e \log (c+d x)}{c+d x}\right ) \, dx}{1000000 d^4 e}-\frac{\left (3 b^2 B^2 (b c-a d) g^3\right ) \int \left (\frac{b e \log (a+b x)}{a+b x}-\frac{d e \log (a+b x)}{c+d x}\right ) \, dx}{500000 d^4 e}+\frac{\left (3 b^2 B^2 (b c-a d) g^3\right ) \int \left (\frac{b e \log (c+d x)}{a+b x}-\frac{d e \log (c+d x)}{c+d x}\right ) \, dx}{500000 d^4 e}\\ &=\frac{B^2 (b c-a d)^3 g^3}{4000000 d^4 (c+d x)^2}-\frac{9 b B^2 (b c-a d)^2 g^3}{2000000 d^4 (c+d x)}-\frac{9 b^2 B^2 (b c-a d) g^3 \log (a+b x)}{2000000 d^4}-\frac{B (b c-a d)^3 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{2000000 d^4 (c+d x)^2}+\frac{b B (b c-a d)^2 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{200000 d^4 (c+d x)}+\frac{a b^2 B g^3 \log (a+b x) \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{500000 d^3}+\frac{b^2 B (b c-a d) g^3 \log (a+b x) \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{200000 d^4}+\frac{b^3 g^3 x \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{1000000 d^3}+\frac{(b c-a d)^3 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{2000000 d^4 (c+d x)^2}-\frac{3 b (b c-a d)^2 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{1000000 d^4 (c+d x)}+\frac{9 b^2 B^2 (b c-a d) g^3 \log (c+d x)}{2000000 d^4}-\frac{b^3 B c g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{500000 d^4}-\frac{b^2 B (b c-a d) g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{200000 d^4}-\frac{3 b^2 (b c-a d) g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2 \log (c+d x)}{1000000 d^4}+\frac{\left (b^4 B^2 c g^3\right ) \int \frac{\log (c+d x)}{a+b x} \, dx}{500000 d^4}-\frac{\left (a b^3 B^2 g^3\right ) \int \frac{\log (a+b x)}{a+b x} \, dx}{500000 d^3}-\frac{\left (b^3 B^2 c g^3\right ) \int \frac{\log (c+d x)}{c+d x} \, dx}{500000 d^3}+\frac{\left (a b^2 B^2 g^3\right ) \int \frac{\log (a+b x)}{c+d x} \, dx}{500000 d^2}+\frac{\left (3 A b^3 B (b c-a d) g^3\right ) \int \frac{\log (c+d x)}{a+b x} \, dx}{500000 d^4}+\frac{\left (b^3 B^2 (b c-a d) g^3\right ) \int \frac{\log (a+b x)}{a+b x} \, dx}{1000000 d^4}-\frac{\left (b^3 B^2 (b c-a d) g^3\right ) \int \frac{\log (c+d x)}{a+b x} \, dx}{1000000 d^4}-\frac{\left (3 b^3 B^2 (b c-a d) g^3\right ) \int \frac{\log (a+b x)}{a+b x} \, dx}{500000 d^4}+\frac{\left (3 b^3 B^2 (b c-a d) g^3\right ) \int \frac{\log (c+d x)}{a+b x} \, dx}{500000 d^4}+\frac{\left (3 b^3 B^2 (b c-a d) g^3\right ) \int \frac{\log \left (\frac{e (a+b x)}{c+d x}\right ) \log (c+d x)}{a+b x} \, dx}{500000 d^4}-\frac{\left (3 A b^2 B (b c-a d) g^3\right ) \int \frac{\log (c+d x)}{c+d x} \, dx}{500000 d^3}-\frac{\left (b^2 B^2 (b c-a d) g^3\right ) \int \frac{\log (a+b x)}{c+d x} \, dx}{1000000 d^3}+\frac{\left (b^2 B^2 (b c-a d) g^3\right ) \int \frac{\log (c+d x)}{c+d x} \, dx}{1000000 d^3}+\frac{\left (3 b^2 B^2 (b c-a d) g^3\right ) \int \frac{\log (a+b x)}{c+d x} \, dx}{500000 d^3}-\frac{\left (3 b^2 B^2 (b c-a d) g^3\right ) \int \frac{\log (c+d x)}{c+d x} \, dx}{500000 d^3}-\frac{\left (3 b^2 B^2 (b c-a d) g^3\right ) \int \frac{\log \left (\frac{e (a+b x)}{c+d x}\right ) \log (c+d x)}{c+d x} \, dx}{500000 d^3}\\ &=\frac{B^2 (b c-a d)^3 g^3}{4000000 d^4 (c+d x)^2}-\frac{9 b B^2 (b c-a d)^2 g^3}{2000000 d^4 (c+d x)}-\frac{9 b^2 B^2 (b c-a d) g^3 \log (a+b x)}{2000000 d^4}-\frac{B (b c-a d)^3 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{2000000 d^4 (c+d x)^2}+\frac{b B (b c-a d)^2 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{200000 d^4 (c+d x)}+\frac{a b^2 B g^3 \log (a+b x) \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{500000 d^3}+\frac{b^2 B (b c-a d) g^3 \log (a+b x) \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{200000 d^4}+\frac{b^3 g^3 x \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{1000000 d^3}+\frac{(b c-a d)^3 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{2000000 d^4 (c+d x)^2}-\frac{3 b (b c-a d)^2 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{1000000 d^4 (c+d x)}+\frac{9 b^2 B^2 (b c-a d) g^3 \log (c+d x)}{2000000 d^4}+\frac{b^3 B^2 c g^3 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \log (c+d x)}{500000 d^4}+\frac{3 A b^2 B (b c-a d) g^3 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \log (c+d x)}{500000 d^4}+\frac{b^2 B^2 (b c-a d) g^3 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \log (c+d x)}{200000 d^4}-\frac{b^3 B c g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{500000 d^4}-\frac{b^2 B (b c-a d) g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{200000 d^4}-\frac{3 b^2 (b c-a d) g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2 \log (c+d x)}{1000000 d^4}-\frac{3 b^2 B^2 (b c-a d) g^3 \log \left (\frac{e (a+b x)}{c+d x}\right ) \log ^2(c+d x)}{1000000 d^4}+\frac{a b^2 B^2 g^3 \log (a+b x) \log \left (\frac{b (c+d x)}{b c-a d}\right )}{500000 d^3}+\frac{b^2 B^2 (b c-a d) g^3 \log (a+b x) \log \left (\frac{b (c+d x)}{b c-a d}\right )}{200000 d^4}-\frac{\left (b^3 B^2 c g^3\right ) \operatorname{Subst}\left (\int \frac{\log (x)}{x} \, dx,x,c+d x\right )}{500000 d^4}-\frac{\left (a b^2 B^2 g^3\right ) \operatorname{Subst}\left (\int \frac{\log (x)}{x} \, dx,x,a+b x\right )}{500000 d^3}-\frac{\left (a b^3 B^2 g^3\right ) \int \frac{\log \left (\frac{b (c+d x)}{b c-a d}\right )}{a+b x} \, dx}{500000 d^3}-\frac{\left (b^3 B^2 c g^3\right ) \int \frac{\log \left (\frac{d (a+b x)}{-b c+a d}\right )}{c+d x} \, dx}{500000 d^3}-\frac{\left (3 A b^2 B (b c-a d) g^3\right ) \operatorname{Subst}\left (\int \frac{\log (x)}{x} \, dx,x,c+d x\right )}{500000 d^4}+\frac{\left (b^2 B^2 (b c-a d) g^3\right ) \operatorname{Subst}\left (\int \frac{\log (x)}{x} \, dx,x,a+b x\right )}{1000000 d^4}+\frac{\left (b^2 B^2 (b c-a d) g^3\right ) \operatorname{Subst}\left (\int \frac{\log (x)}{x} \, dx,x,c+d x\right )}{1000000 d^4}-\frac{\left (3 b^2 B^2 (b c-a d) g^3\right ) \operatorname{Subst}\left (\int \frac{\log (x)}{x} \, dx,x,a+b x\right )}{500000 d^4}-\frac{\left (3 b^2 B^2 (b c-a d) g^3\right ) \operatorname{Subst}\left (\int \frac{\log (x)}{x} \, dx,x,c+d x\right )}{500000 d^4}+\frac{\left (b^3 B^2 (b c-a d) g^3\right ) \int \frac{\log \left (\frac{b (c+d x)}{b c-a d}\right )}{a+b x} \, dx}{1000000 d^4}+\frac{\left (3 b^3 B^2 (b c-a d) g^3\right ) \int \frac{\log ^2(c+d x)}{a+b x} \, dx}{1000000 d^4}+\frac{\left (3 b^3 B^2 (b c-a d) g^3\right ) \int \frac{\log (a+b x) \log (c+d x)}{a+b x} \, dx}{500000 d^4}+\frac{\left (3 b^3 B^2 (b c-a d) g^3\right ) \int \frac{\log \left (\frac{1}{c+d x}\right ) \log (c+d x)}{a+b x} \, dx}{500000 d^4}-\frac{\left (3 b^3 B^2 (b c-a d) g^3\right ) \int \frac{\log \left (\frac{b (c+d x)}{b c-a d}\right )}{a+b x} \, dx}{500000 d^4}-\frac{\left (3 A b^2 B (b c-a d) g^3\right ) \int \frac{\log \left (\frac{d (a+b x)}{-b c+a d}\right )}{c+d x} \, dx}{500000 d^3}+\frac{\left (b^2 B^2 (b c-a d) g^3\right ) \int \frac{\log \left (\frac{d (a+b x)}{-b c+a d}\right )}{c+d x} \, dx}{1000000 d^3}-\frac{\left (3 b^2 B^2 (b c-a d) g^3\right ) \int \frac{\log ^2(c+d x)}{c+d x} \, dx}{1000000 d^3}-\frac{\left (3 b^2 B^2 (b c-a d) g^3\right ) \int \frac{\log \left (\frac{d (a+b x)}{-b c+a d}\right )}{c+d x} \, dx}{500000 d^3}+\frac{\left (3 b^3 B^2 (b c-a d) g^3 \left (-\log (a+b x)-\log \left (\frac{1}{c+d x}\right )+\log \left (\frac{e (a+b x)}{c+d x}\right )\right )\right ) \int \frac{\log (c+d x)}{a+b x} \, dx}{500000 d^4}\\ &=\frac{B^2 (b c-a d)^3 g^3}{4000000 d^4 (c+d x)^2}-\frac{9 b B^2 (b c-a d)^2 g^3}{2000000 d^4 (c+d x)}-\frac{9 b^2 B^2 (b c-a d) g^3 \log (a+b x)}{2000000 d^4}-\frac{a b^2 B^2 g^3 \log ^2(a+b x)}{1000000 d^3}-\frac{b^2 B^2 (b c-a d) g^3 \log ^2(a+b x)}{400000 d^4}-\frac{B (b c-a d)^3 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{2000000 d^4 (c+d x)^2}+\frac{b B (b c-a d)^2 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{200000 d^4 (c+d x)}+\frac{a b^2 B g^3 \log (a+b x) \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{500000 d^3}+\frac{b^2 B (b c-a d) g^3 \log (a+b x) \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{200000 d^4}+\frac{b^3 g^3 x \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{1000000 d^3}+\frac{(b c-a d)^3 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{2000000 d^4 (c+d x)^2}-\frac{3 b (b c-a d)^2 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{1000000 d^4 (c+d x)}+\frac{9 b^2 B^2 (b c-a d) g^3 \log (c+d x)}{2000000 d^4}+\frac{b^3 B^2 c g^3 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \log (c+d x)}{500000 d^4}+\frac{3 A b^2 B (b c-a d) g^3 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \log (c+d x)}{500000 d^4}+\frac{b^2 B^2 (b c-a d) g^3 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \log (c+d x)}{200000 d^4}-\frac{3 b^2 B^2 (b c-a d) g^3 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \left (\log (a+b x)+\log \left (\frac{1}{c+d x}\right )-\log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{500000 d^4}-\frac{b^3 B c g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{500000 d^4}-\frac{b^2 B (b c-a d) g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{200000 d^4}-\frac{3 b^2 (b c-a d) g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2 \log (c+d x)}{1000000 d^4}-\frac{b^3 B^2 c g^3 \log ^2(c+d x)}{1000000 d^4}-\frac{3 A b^2 B (b c-a d) g^3 \log ^2(c+d x)}{1000000 d^4}-\frac{b^2 B^2 (b c-a d) g^3 \log ^2(c+d x)}{400000 d^4}+\frac{3 b^2 B^2 (b c-a d) g^3 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \log ^2(c+d x)}{1000000 d^4}-\frac{3 b^2 B^2 (b c-a d) g^3 \log \left (\frac{e (a+b x)}{c+d x}\right ) \log ^2(c+d x)}{1000000 d^4}+\frac{a b^2 B^2 g^3 \log (a+b x) \log \left (\frac{b (c+d x)}{b c-a d}\right )}{500000 d^3}+\frac{b^2 B^2 (b c-a d) g^3 \log (a+b x) \log \left (\frac{b (c+d x)}{b c-a d}\right )}{200000 d^4}-\frac{\left (b^3 B^2 c g^3\right ) \operatorname{Subst}\left (\int \frac{\log \left (1+\frac{b x}{-b c+a d}\right )}{x} \, dx,x,c+d x\right )}{500000 d^4}-\frac{\left (a b^2 B^2 g^3\right ) \operatorname{Subst}\left (\int \frac{\log \left (1+\frac{d x}{b c-a d}\right )}{x} \, dx,x,a+b x\right )}{500000 d^3}-\frac{\left (3 A b^2 B (b c-a d) g^3\right ) \operatorname{Subst}\left (\int \frac{\log \left (1+\frac{b x}{-b c+a d}\right )}{x} \, dx,x,c+d x\right )}{500000 d^4}+\frac{\left (b^2 B^2 (b c-a d) g^3\right ) \operatorname{Subst}\left (\int \frac{\log \left (1+\frac{d x}{b c-a d}\right )}{x} \, dx,x,a+b x\right )}{1000000 d^4}+\frac{\left (b^2 B^2 (b c-a d) g^3\right ) \operatorname{Subst}\left (\int \frac{\log \left (1+\frac{b x}{-b c+a d}\right )}{x} \, dx,x,c+d x\right )}{1000000 d^4}-\frac{\left (3 b^2 B^2 (b c-a d) g^3\right ) \operatorname{Subst}\left (\int \frac{\log ^2(x)}{x} \, dx,x,c+d x\right )}{1000000 d^4}+\frac{\left (3 b^2 B^2 (b c-a d) g^3\right ) \operatorname{Subst}\left (\int \frac{\log (x) \log \left (\frac{b c-a d}{b}+\frac{d x}{b}\right )}{x} \, dx,x,a+b x\right )}{500000 d^4}+\frac{\left (3 b^2 B^2 (b c-a d) g^3\right ) \operatorname{Subst}\left (\int \frac{\log \left (\frac{1}{-\frac{-b c+a d}{b}+\frac{d x}{b}}\right ) \log \left (-\frac{-b c+a d}{b}+\frac{d x}{b}\right )}{x} \, dx,x,a+b x\right )}{500000 d^4}-\frac{\left (3 b^2 B^2 (b c-a d) g^3\right ) \operatorname{Subst}\left (\int \frac{\log \left (1+\frac{d x}{b c-a d}\right )}{x} \, dx,x,a+b x\right )}{500000 d^4}-\frac{\left (3 b^2 B^2 (b c-a d) g^3\right ) \operatorname{Subst}\left (\int \frac{\log \left (1+\frac{b x}{-b c+a d}\right )}{x} \, dx,x,c+d x\right )}{500000 d^4}-\frac{\left (3 b^2 B^2 (b c-a d) g^3\right ) \int \frac{\log \left (\frac{d (a+b x)}{-b c+a d}\right ) \log (c+d x)}{c+d x} \, dx}{500000 d^3}-\frac{\left (3 b^2 B^2 (b c-a d) g^3 \left (-\log (a+b x)-\log \left (\frac{1}{c+d x}\right )+\log \left (\frac{e (a+b x)}{c+d x}\right )\right )\right ) \int \frac{\log \left (\frac{d (a+b x)}{-b c+a d}\right )}{c+d x} \, dx}{500000 d^3}\\ &=\frac{B^2 (b c-a d)^3 g^3}{4000000 d^4 (c+d x)^2}-\frac{9 b B^2 (b c-a d)^2 g^3}{2000000 d^4 (c+d x)}-\frac{9 b^2 B^2 (b c-a d) g^3 \log (a+b x)}{2000000 d^4}-\frac{a b^2 B^2 g^3 \log ^2(a+b x)}{1000000 d^3}-\frac{b^2 B^2 (b c-a d) g^3 \log ^2(a+b x)}{400000 d^4}-\frac{B (b c-a d)^3 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{2000000 d^4 (c+d x)^2}+\frac{b B (b c-a d)^2 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{200000 d^4 (c+d x)}+\frac{a b^2 B g^3 \log (a+b x) \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{500000 d^3}+\frac{b^2 B (b c-a d) g^3 \log (a+b x) \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{200000 d^4}+\frac{b^3 g^3 x \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{1000000 d^3}+\frac{(b c-a d)^3 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{2000000 d^4 (c+d x)^2}-\frac{3 b (b c-a d)^2 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{1000000 d^4 (c+d x)}+\frac{9 b^2 B^2 (b c-a d) g^3 \log (c+d x)}{2000000 d^4}+\frac{3 b^2 B^2 (b c-a d) g^3 \log ^2(a+b x) \log (c+d x)}{1000000 d^4}+\frac{b^3 B^2 c g^3 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \log (c+d x)}{500000 d^4}+\frac{3 A b^2 B (b c-a d) g^3 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \log (c+d x)}{500000 d^4}+\frac{b^2 B^2 (b c-a d) g^3 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \log (c+d x)}{200000 d^4}+\frac{3 b^2 B^2 (b c-a d) g^3 \log (a+b x) \log \left (\frac{1}{c+d x}\right ) \log (c+d x)}{500000 d^4}-\frac{3 b^2 B^2 (b c-a d) g^3 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \left (\log (a+b x)+\log \left (\frac{1}{c+d x}\right )-\log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{500000 d^4}-\frac{b^3 B c g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{500000 d^4}-\frac{b^2 B (b c-a d) g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{200000 d^4}-\frac{3 b^2 (b c-a d) g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2 \log (c+d x)}{1000000 d^4}-\frac{b^3 B^2 c g^3 \log ^2(c+d x)}{1000000 d^4}-\frac{3 A b^2 B (b c-a d) g^3 \log ^2(c+d x)}{1000000 d^4}-\frac{b^2 B^2 (b c-a d) g^3 \log ^2(c+d x)}{400000 d^4}+\frac{3 b^2 B^2 (b c-a d) g^3 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \log ^2(c+d x)}{1000000 d^4}-\frac{3 b^2 B^2 (b c-a d) g^3 \log \left (\frac{e (a+b x)}{c+d x}\right ) \log ^2(c+d x)}{1000000 d^4}+\frac{a b^2 B^2 g^3 \log (a+b x) \log \left (\frac{b (c+d x)}{b c-a d}\right )}{500000 d^3}+\frac{b^2 B^2 (b c-a d) g^3 \log (a+b x) \log \left (\frac{b (c+d x)}{b c-a d}\right )}{200000 d^4}+\frac{a b^2 B^2 g^3 \text{Li}_2\left (-\frac{d (a+b x)}{b c-a d}\right )}{500000 d^3}+\frac{b^2 B^2 (b c-a d) g^3 \text{Li}_2\left (-\frac{d (a+b x)}{b c-a d}\right )}{200000 d^4}+\frac{b^3 B^2 c g^3 \text{Li}_2\left (\frac{b (c+d x)}{b c-a d}\right )}{500000 d^4}+\frac{3 A b^2 B (b c-a d) g^3 \text{Li}_2\left (\frac{b (c+d x)}{b c-a d}\right )}{500000 d^4}+\frac{b^2 B^2 (b c-a d) g^3 \text{Li}_2\left (\frac{b (c+d x)}{b c-a d}\right )}{200000 d^4}-\frac{\left (3 b^2 B^2 (b c-a d) g^3\right ) \operatorname{Subst}\left (\int x^2 \, dx,x,\log (c+d x)\right )}{1000000 d^4}-\frac{\left (3 b^2 B^2 (b c-a d) g^3\right ) \operatorname{Subst}\left (\int \frac{\log (x) \log \left (\frac{d \left (\frac{-b c+a d}{d}+\frac{b x}{d}\right )}{-b c+a d}\right )}{x} \, dx,x,c+d x\right )}{500000 d^4}-\frac{\left (3 b B^2 (b c-a d) g^3\right ) \operatorname{Subst}\left (\int \frac{\log ^2(x)}{\frac{b c-a d}{b}+\frac{d x}{b}} \, dx,x,a+b x\right )}{1000000 d^3}-\frac{\left (3 b B^2 (b c-a d) g^3\right ) \operatorname{Subst}\left (\int \frac{\log (x) \log \left (\frac{1}{-\frac{-b c+a d}{b}+\frac{d x}{b}}\right )}{-\frac{-b c+a d}{b}+\frac{d x}{b}} \, dx,x,a+b x\right )}{500000 d^3}+\frac{\left (3 b B^2 (b c-a d) g^3\right ) \operatorname{Subst}\left (\int \frac{\log (x) \log \left (-\frac{-b c+a d}{b}+\frac{d x}{b}\right )}{-\frac{-b c+a d}{b}+\frac{d x}{b}} \, dx,x,a+b x\right )}{500000 d^3}-\frac{\left (3 b^2 B^2 (b c-a d) g^3 \left (-\log (a+b x)-\log \left (\frac{1}{c+d x}\right )+\log \left (\frac{e (a+b x)}{c+d x}\right )\right )\right ) \operatorname{Subst}\left (\int \frac{\log \left (1+\frac{b x}{-b c+a d}\right )}{x} \, dx,x,c+d x\right )}{500000 d^4}\\ &=\frac{B^2 (b c-a d)^3 g^3}{4000000 d^4 (c+d x)^2}-\frac{9 b B^2 (b c-a d)^2 g^3}{2000000 d^4 (c+d x)}-\frac{9 b^2 B^2 (b c-a d) g^3 \log (a+b x)}{2000000 d^4}-\frac{a b^2 B^2 g^3 \log ^2(a+b x)}{1000000 d^3}-\frac{b^2 B^2 (b c-a d) g^3 \log ^2(a+b x)}{400000 d^4}-\frac{B (b c-a d)^3 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{2000000 d^4 (c+d x)^2}+\frac{b B (b c-a d)^2 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{200000 d^4 (c+d x)}+\frac{a b^2 B g^3 \log (a+b x) \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{500000 d^3}+\frac{b^2 B (b c-a d) g^3 \log (a+b x) \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{200000 d^4}+\frac{b^3 g^3 x \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{1000000 d^3}+\frac{(b c-a d)^3 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{2000000 d^4 (c+d x)^2}-\frac{3 b (b c-a d)^2 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{1000000 d^4 (c+d x)}+\frac{9 b^2 B^2 (b c-a d) g^3 \log (c+d x)}{2000000 d^4}+\frac{3 b^2 B^2 (b c-a d) g^3 \log ^2(a+b x) \log (c+d x)}{1000000 d^4}+\frac{b^3 B^2 c g^3 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \log (c+d x)}{500000 d^4}+\frac{3 A b^2 B (b c-a d) g^3 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \log (c+d x)}{500000 d^4}+\frac{b^2 B^2 (b c-a d) g^3 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \log (c+d x)}{200000 d^4}+\frac{3 b^2 B^2 (b c-a d) g^3 \log (a+b x) \log \left (\frac{1}{c+d x}\right ) \log (c+d x)}{500000 d^4}-\frac{3 b^2 B^2 (b c-a d) g^3 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \left (\log (a+b x)+\log \left (\frac{1}{c+d x}\right )-\log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{500000 d^4}-\frac{b^3 B c g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{500000 d^4}-\frac{b^2 B (b c-a d) g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{200000 d^4}-\frac{3 b^2 (b c-a d) g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2 \log (c+d x)}{1000000 d^4}-\frac{b^3 B^2 c g^3 \log ^2(c+d x)}{1000000 d^4}-\frac{3 A b^2 B (b c-a d) g^3 \log ^2(c+d x)}{1000000 d^4}-\frac{b^2 B^2 (b c-a d) g^3 \log ^2(c+d x)}{400000 d^4}+\frac{3 b^2 B^2 (b c-a d) g^3 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \log ^2(c+d x)}{1000000 d^4}-\frac{3 b^2 B^2 (b c-a d) g^3 \log \left (\frac{e (a+b x)}{c+d x}\right ) \log ^2(c+d x)}{1000000 d^4}-\frac{b^2 B^2 (b c-a d) g^3 \log ^3(c+d x)}{1000000 d^4}+\frac{a b^2 B^2 g^3 \log (a+b x) \log \left (\frac{b (c+d x)}{b c-a d}\right )}{500000 d^3}+\frac{b^2 B^2 (b c-a d) g^3 \log (a+b x) \log \left (\frac{b (c+d x)}{b c-a d}\right )}{200000 d^4}-\frac{3 b^2 B^2 (b c-a d) g^3 \log ^2(a+b x) \log \left (\frac{b (c+d x)}{b c-a d}\right )}{1000000 d^4}+\frac{a b^2 B^2 g^3 \text{Li}_2\left (-\frac{d (a+b x)}{b c-a d}\right )}{500000 d^3}+\frac{b^2 B^2 (b c-a d) g^3 \text{Li}_2\left (-\frac{d (a+b x)}{b c-a d}\right )}{200000 d^4}+\frac{b^3 B^2 c g^3 \text{Li}_2\left (\frac{b (c+d x)}{b c-a d}\right )}{500000 d^4}+\frac{3 A b^2 B (b c-a d) g^3 \text{Li}_2\left (\frac{b (c+d x)}{b c-a d}\right )}{500000 d^4}+\frac{b^2 B^2 (b c-a d) g^3 \text{Li}_2\left (\frac{b (c+d x)}{b c-a d}\right )}{200000 d^4}-\frac{3 b^2 B^2 (b c-a d) g^3 \left (\log (a+b x)+\log \left (\frac{1}{c+d x}\right )-\log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \text{Li}_2\left (\frac{b (c+d x)}{b c-a d}\right )}{500000 d^4}+\frac{3 b^2 B^2 (b c-a d) g^3 \log (c+d x) \text{Li}_2\left (\frac{b (c+d x)}{b c-a d}\right )}{500000 d^4}-\frac{\left (3 b^2 B^2 (b c-a d) g^3\right ) \operatorname{Subst}\left (\int \frac{\log \left (\frac{1}{x}\right ) \log \left (\frac{-b c+a d}{d}+\frac{b x}{d}\right )}{x} \, dx,x,c+d x\right )}{500000 d^4}+\frac{\left (3 b^2 B^2 (b c-a d) g^3\right ) \operatorname{Subst}\left (\int \frac{\log (x) \log \left (\frac{-b c+a d}{d}+\frac{b x}{d}\right )}{x} \, dx,x,c+d x\right )}{500000 d^4}+\frac{\left (3 b^2 B^2 (b c-a d) g^3\right ) \operatorname{Subst}\left (\int \frac{\log (x) \log \left (1+\frac{d x}{b c-a d}\right )}{x} \, dx,x,a+b x\right )}{500000 d^4}-\frac{\left (3 b^2 B^2 (b c-a d) g^3\right ) \operatorname{Subst}\left (\int \frac{\text{Li}_2\left (-\frac{b x}{-b c+a d}\right )}{x} \, dx,x,c+d x\right )}{500000 d^4}\\ &=\frac{B^2 (b c-a d)^3 g^3}{4000000 d^4 (c+d x)^2}-\frac{9 b B^2 (b c-a d)^2 g^3}{2000000 d^4 (c+d x)}-\frac{9 b^2 B^2 (b c-a d) g^3 \log (a+b x)}{2000000 d^4}-\frac{a b^2 B^2 g^3 \log ^2(a+b x)}{1000000 d^3}-\frac{b^2 B^2 (b c-a d) g^3 \log ^2(a+b x)}{400000 d^4}+\frac{3 b^2 B^2 (b c-a d) g^3 \log (a+b x) \log ^2\left (\frac{1}{c+d x}\right )}{1000000 d^4}-\frac{B (b c-a d)^3 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{2000000 d^4 (c+d x)^2}+\frac{b B (b c-a d)^2 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{200000 d^4 (c+d x)}+\frac{a b^2 B g^3 \log (a+b x) \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{500000 d^3}+\frac{b^2 B (b c-a d) g^3 \log (a+b x) \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{200000 d^4}+\frac{b^3 g^3 x \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{1000000 d^3}+\frac{(b c-a d)^3 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{2000000 d^4 (c+d x)^2}-\frac{3 b (b c-a d)^2 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{1000000 d^4 (c+d x)}+\frac{9 b^2 B^2 (b c-a d) g^3 \log (c+d x)}{2000000 d^4}+\frac{3 b^2 B^2 (b c-a d) g^3 \log ^2(a+b x) \log (c+d x)}{1000000 d^4}+\frac{b^3 B^2 c g^3 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \log (c+d x)}{500000 d^4}+\frac{3 A b^2 B (b c-a d) g^3 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \log (c+d x)}{500000 d^4}+\frac{b^2 B^2 (b c-a d) g^3 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \log (c+d x)}{200000 d^4}+\frac{3 b^2 B^2 (b c-a d) g^3 \log (a+b x) \log \left (\frac{1}{c+d x}\right ) \log (c+d x)}{500000 d^4}-\frac{3 b^2 B^2 (b c-a d) g^3 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \left (\log (a+b x)+\log \left (\frac{1}{c+d x}\right )-\log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{500000 d^4}-\frac{b^3 B c g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{500000 d^4}-\frac{b^2 B (b c-a d) g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{200000 d^4}-\frac{3 b^2 (b c-a d) g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2 \log (c+d x)}{1000000 d^4}-\frac{b^3 B^2 c g^3 \log ^2(c+d x)}{1000000 d^4}-\frac{3 A b^2 B (b c-a d) g^3 \log ^2(c+d x)}{1000000 d^4}-\frac{b^2 B^2 (b c-a d) g^3 \log ^2(c+d x)}{400000 d^4}+\frac{3 b^2 B^2 (b c-a d) g^3 \log (a+b x) \log ^2(c+d x)}{1000000 d^4}+\frac{3 b^2 B^2 (b c-a d) g^3 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \log ^2(c+d x)}{1000000 d^4}-\frac{3 b^2 B^2 (b c-a d) g^3 \log \left (\frac{e (a+b x)}{c+d x}\right ) \log ^2(c+d x)}{1000000 d^4}-\frac{b^2 B^2 (b c-a d) g^3 \log ^3(c+d x)}{1000000 d^4}+\frac{a b^2 B^2 g^3 \log (a+b x) \log \left (\frac{b (c+d x)}{b c-a d}\right )}{500000 d^3}+\frac{b^2 B^2 (b c-a d) g^3 \log (a+b x) \log \left (\frac{b (c+d x)}{b c-a d}\right )}{200000 d^4}-\frac{3 b^2 B^2 (b c-a d) g^3 \log ^2(a+b x) \log \left (\frac{b (c+d x)}{b c-a d}\right )}{1000000 d^4}+\frac{a b^2 B^2 g^3 \text{Li}_2\left (-\frac{d (a+b x)}{b c-a d}\right )}{500000 d^3}+\frac{b^2 B^2 (b c-a d) g^3 \text{Li}_2\left (-\frac{d (a+b x)}{b c-a d}\right )}{200000 d^4}-\frac{3 b^2 B^2 (b c-a d) g^3 \log (a+b x) \text{Li}_2\left (-\frac{d (a+b x)}{b c-a d}\right )}{500000 d^4}+\frac{b^3 B^2 c g^3 \text{Li}_2\left (\frac{b (c+d x)}{b c-a d}\right )}{500000 d^4}+\frac{3 A b^2 B (b c-a d) g^3 \text{Li}_2\left (\frac{b (c+d x)}{b c-a d}\right )}{500000 d^4}+\frac{b^2 B^2 (b c-a d) g^3 \text{Li}_2\left (\frac{b (c+d x)}{b c-a d}\right )}{200000 d^4}-\frac{3 b^2 B^2 (b c-a d) g^3 \left (\log (a+b x)+\log \left (\frac{1}{c+d x}\right )-\log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \text{Li}_2\left (\frac{b (c+d x)}{b c-a d}\right )}{500000 d^4}+\frac{3 b^2 B^2 (b c-a d) g^3 \log (c+d x) \text{Li}_2\left (\frac{b (c+d x)}{b c-a d}\right )}{500000 d^4}-\frac{3 b^2 B^2 (b c-a d) g^3 \text{Li}_3\left (\frac{b (c+d x)}{b c-a d}\right )}{500000 d^4}-\frac{\left (3 b^3 B^2 (b c-a d) g^3\right ) \operatorname{Subst}\left (\int \frac{\log ^2\left (\frac{1}{x}\right )}{\frac{-b c+a d}{d}+\frac{b x}{d}} \, dx,x,c+d x\right )}{1000000 d^5}-\frac{\left (3 b^3 B^2 (b c-a d) g^3\right ) \operatorname{Subst}\left (\int \frac{\log ^2(x)}{\frac{-b c+a d}{d}+\frac{b x}{d}} \, dx,x,c+d x\right )}{1000000 d^5}+\frac{\left (3 b^2 B^2 (b c-a d) g^3\right ) \operatorname{Subst}\left (\int \frac{\text{Li}_2\left (-\frac{d x}{b c-a d}\right )}{x} \, dx,x,a+b x\right )}{500000 d^4}\\ &=\frac{B^2 (b c-a d)^3 g^3}{4000000 d^4 (c+d x)^2}-\frac{9 b B^2 (b c-a d)^2 g^3}{2000000 d^4 (c+d x)}-\frac{9 b^2 B^2 (b c-a d) g^3 \log (a+b x)}{2000000 d^4}-\frac{a b^2 B^2 g^3 \log ^2(a+b x)}{1000000 d^3}-\frac{b^2 B^2 (b c-a d) g^3 \log ^2(a+b x)}{400000 d^4}+\frac{3 b^2 B^2 (b c-a d) g^3 \log (a+b x) \log ^2\left (\frac{1}{c+d x}\right )}{1000000 d^4}-\frac{3 b^2 B^2 (b c-a d) g^3 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \log ^2\left (\frac{1}{c+d x}\right )}{1000000 d^4}-\frac{B (b c-a d)^3 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{2000000 d^4 (c+d x)^2}+\frac{b B (b c-a d)^2 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{200000 d^4 (c+d x)}+\frac{a b^2 B g^3 \log (a+b x) \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{500000 d^3}+\frac{b^2 B (b c-a d) g^3 \log (a+b x) \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{200000 d^4}+\frac{b^3 g^3 x \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{1000000 d^3}+\frac{(b c-a d)^3 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{2000000 d^4 (c+d x)^2}-\frac{3 b (b c-a d)^2 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{1000000 d^4 (c+d x)}+\frac{9 b^2 B^2 (b c-a d) g^3 \log (c+d x)}{2000000 d^4}+\frac{3 b^2 B^2 (b c-a d) g^3 \log ^2(a+b x) \log (c+d x)}{1000000 d^4}+\frac{b^3 B^2 c g^3 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \log (c+d x)}{500000 d^4}+\frac{3 A b^2 B (b c-a d) g^3 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \log (c+d x)}{500000 d^4}+\frac{b^2 B^2 (b c-a d) g^3 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \log (c+d x)}{200000 d^4}+\frac{3 b^2 B^2 (b c-a d) g^3 \log (a+b x) \log \left (\frac{1}{c+d x}\right ) \log (c+d x)}{500000 d^4}-\frac{3 b^2 B^2 (b c-a d) g^3 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \left (\log (a+b x)+\log \left (\frac{1}{c+d x}\right )-\log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{500000 d^4}-\frac{b^3 B c g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{500000 d^4}-\frac{b^2 B (b c-a d) g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{200000 d^4}-\frac{3 b^2 (b c-a d) g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2 \log (c+d x)}{1000000 d^4}-\frac{b^3 B^2 c g^3 \log ^2(c+d x)}{1000000 d^4}-\frac{3 A b^2 B (b c-a d) g^3 \log ^2(c+d x)}{1000000 d^4}-\frac{b^2 B^2 (b c-a d) g^3 \log ^2(c+d x)}{400000 d^4}+\frac{3 b^2 B^2 (b c-a d) g^3 \log (a+b x) \log ^2(c+d x)}{1000000 d^4}-\frac{3 b^2 B^2 (b c-a d) g^3 \log \left (\frac{e (a+b x)}{c+d x}\right ) \log ^2(c+d x)}{1000000 d^4}-\frac{b^2 B^2 (b c-a d) g^3 \log ^3(c+d x)}{1000000 d^4}+\frac{a b^2 B^2 g^3 \log (a+b x) \log \left (\frac{b (c+d x)}{b c-a d}\right )}{500000 d^3}+\frac{b^2 B^2 (b c-a d) g^3 \log (a+b x) \log \left (\frac{b (c+d x)}{b c-a d}\right )}{200000 d^4}-\frac{3 b^2 B^2 (b c-a d) g^3 \log ^2(a+b x) \log \left (\frac{b (c+d x)}{b c-a d}\right )}{1000000 d^4}+\frac{a b^2 B^2 g^3 \text{Li}_2\left (-\frac{d (a+b x)}{b c-a d}\right )}{500000 d^3}+\frac{b^2 B^2 (b c-a d) g^3 \text{Li}_2\left (-\frac{d (a+b x)}{b c-a d}\right )}{200000 d^4}-\frac{3 b^2 B^2 (b c-a d) g^3 \log (a+b x) \text{Li}_2\left (-\frac{d (a+b x)}{b c-a d}\right )}{500000 d^4}+\frac{b^3 B^2 c g^3 \text{Li}_2\left (\frac{b (c+d x)}{b c-a d}\right )}{500000 d^4}+\frac{3 A b^2 B (b c-a d) g^3 \text{Li}_2\left (\frac{b (c+d x)}{b c-a d}\right )}{500000 d^4}+\frac{b^2 B^2 (b c-a d) g^3 \text{Li}_2\left (\frac{b (c+d x)}{b c-a d}\right )}{200000 d^4}-\frac{3 b^2 B^2 (b c-a d) g^3 \left (\log (a+b x)+\log \left (\frac{1}{c+d x}\right )-\log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \text{Li}_2\left (\frac{b (c+d x)}{b c-a d}\right )}{500000 d^4}+\frac{3 b^2 B^2 (b c-a d) g^3 \log (c+d x) \text{Li}_2\left (\frac{b (c+d x)}{b c-a d}\right )}{500000 d^4}+\frac{3 b^2 B^2 (b c-a d) g^3 \text{Li}_3\left (-\frac{d (a+b x)}{b c-a d}\right )}{500000 d^4}-\frac{3 b^2 B^2 (b c-a d) g^3 \text{Li}_3\left (\frac{b (c+d x)}{b c-a d}\right )}{500000 d^4}-\frac{\left (3 b^2 B^2 (b c-a d) g^3\right ) \operatorname{Subst}\left (\int \frac{\log \left (\frac{1}{x}\right ) \log \left (1+\frac{b x}{-b c+a d}\right )}{x} \, dx,x,c+d x\right )}{500000 d^4}+\frac{\left (3 b^2 B^2 (b c-a d) g^3\right ) \operatorname{Subst}\left (\int \frac{\log (x) \log \left (1+\frac{b x}{-b c+a d}\right )}{x} \, dx,x,c+d x\right )}{500000 d^4}\\ &=\frac{B^2 (b c-a d)^3 g^3}{4000000 d^4 (c+d x)^2}-\frac{9 b B^2 (b c-a d)^2 g^3}{2000000 d^4 (c+d x)}-\frac{9 b^2 B^2 (b c-a d) g^3 \log (a+b x)}{2000000 d^4}-\frac{a b^2 B^2 g^3 \log ^2(a+b x)}{1000000 d^3}-\frac{b^2 B^2 (b c-a d) g^3 \log ^2(a+b x)}{400000 d^4}+\frac{3 b^2 B^2 (b c-a d) g^3 \log (a+b x) \log ^2\left (\frac{1}{c+d x}\right )}{1000000 d^4}-\frac{3 b^2 B^2 (b c-a d) g^3 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \log ^2\left (\frac{1}{c+d x}\right )}{1000000 d^4}-\frac{B (b c-a d)^3 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{2000000 d^4 (c+d x)^2}+\frac{b B (b c-a d)^2 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{200000 d^4 (c+d x)}+\frac{a b^2 B g^3 \log (a+b x) \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{500000 d^3}+\frac{b^2 B (b c-a d) g^3 \log (a+b x) \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{200000 d^4}+\frac{b^3 g^3 x \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{1000000 d^3}+\frac{(b c-a d)^3 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{2000000 d^4 (c+d x)^2}-\frac{3 b (b c-a d)^2 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{1000000 d^4 (c+d x)}+\frac{9 b^2 B^2 (b c-a d) g^3 \log (c+d x)}{2000000 d^4}+\frac{3 b^2 B^2 (b c-a d) g^3 \log ^2(a+b x) \log (c+d x)}{1000000 d^4}+\frac{b^3 B^2 c g^3 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \log (c+d x)}{500000 d^4}+\frac{3 A b^2 B (b c-a d) g^3 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \log (c+d x)}{500000 d^4}+\frac{b^2 B^2 (b c-a d) g^3 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \log (c+d x)}{200000 d^4}+\frac{3 b^2 B^2 (b c-a d) g^3 \log (a+b x) \log \left (\frac{1}{c+d x}\right ) \log (c+d x)}{500000 d^4}-\frac{3 b^2 B^2 (b c-a d) g^3 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \left (\log (a+b x)+\log \left (\frac{1}{c+d x}\right )-\log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{500000 d^4}-\frac{b^3 B c g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{500000 d^4}-\frac{b^2 B (b c-a d) g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{200000 d^4}-\frac{3 b^2 (b c-a d) g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2 \log (c+d x)}{1000000 d^4}-\frac{b^3 B^2 c g^3 \log ^2(c+d x)}{1000000 d^4}-\frac{3 A b^2 B (b c-a d) g^3 \log ^2(c+d x)}{1000000 d^4}-\frac{b^2 B^2 (b c-a d) g^3 \log ^2(c+d x)}{400000 d^4}+\frac{3 b^2 B^2 (b c-a d) g^3 \log (a+b x) \log ^2(c+d x)}{1000000 d^4}-\frac{3 b^2 B^2 (b c-a d) g^3 \log \left (\frac{e (a+b x)}{c+d x}\right ) \log ^2(c+d x)}{1000000 d^4}-\frac{b^2 B^2 (b c-a d) g^3 \log ^3(c+d x)}{1000000 d^4}+\frac{a b^2 B^2 g^3 \log (a+b x) \log \left (\frac{b (c+d x)}{b c-a d}\right )}{500000 d^3}+\frac{b^2 B^2 (b c-a d) g^3 \log (a+b x) \log \left (\frac{b (c+d x)}{b c-a d}\right )}{200000 d^4}-\frac{3 b^2 B^2 (b c-a d) g^3 \log ^2(a+b x) \log \left (\frac{b (c+d x)}{b c-a d}\right )}{1000000 d^4}+\frac{a b^2 B^2 g^3 \text{Li}_2\left (-\frac{d (a+b x)}{b c-a d}\right )}{500000 d^3}+\frac{b^2 B^2 (b c-a d) g^3 \text{Li}_2\left (-\frac{d (a+b x)}{b c-a d}\right )}{200000 d^4}-\frac{3 b^2 B^2 (b c-a d) g^3 \log (a+b x) \text{Li}_2\left (-\frac{d (a+b x)}{b c-a d}\right )}{500000 d^4}+\frac{b^3 B^2 c g^3 \text{Li}_2\left (\frac{b (c+d x)}{b c-a d}\right )}{500000 d^4}+\frac{3 A b^2 B (b c-a d) g^3 \text{Li}_2\left (\frac{b (c+d x)}{b c-a d}\right )}{500000 d^4}+\frac{b^2 B^2 (b c-a d) g^3 \text{Li}_2\left (\frac{b (c+d x)}{b c-a d}\right )}{200000 d^4}+\frac{3 b^2 B^2 (b c-a d) g^3 \log \left (\frac{1}{c+d x}\right ) \text{Li}_2\left (\frac{b (c+d x)}{b c-a d}\right )}{500000 d^4}-\frac{3 b^2 B^2 (b c-a d) g^3 \left (\log (a+b x)+\log \left (\frac{1}{c+d x}\right )-\log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \text{Li}_2\left (\frac{b (c+d x)}{b c-a d}\right )}{500000 d^4}+\frac{3 b^2 B^2 (b c-a d) g^3 \text{Li}_3\left (-\frac{d (a+b x)}{b c-a d}\right )}{500000 d^4}-\frac{3 b^2 B^2 (b c-a d) g^3 \text{Li}_3\left (\frac{b (c+d x)}{b c-a d}\right )}{500000 d^4}+2 \frac{\left (3 b^2 B^2 (b c-a d) g^3\right ) \operatorname{Subst}\left (\int \frac{\text{Li}_2\left (-\frac{b x}{-b c+a d}\right )}{x} \, dx,x,c+d x\right )}{500000 d^4}\\ &=\frac{B^2 (b c-a d)^3 g^3}{4000000 d^4 (c+d x)^2}-\frac{9 b B^2 (b c-a d)^2 g^3}{2000000 d^4 (c+d x)}-\frac{9 b^2 B^2 (b c-a d) g^3 \log (a+b x)}{2000000 d^4}-\frac{a b^2 B^2 g^3 \log ^2(a+b x)}{1000000 d^3}-\frac{b^2 B^2 (b c-a d) g^3 \log ^2(a+b x)}{400000 d^4}+\frac{3 b^2 B^2 (b c-a d) g^3 \log (a+b x) \log ^2\left (\frac{1}{c+d x}\right )}{1000000 d^4}-\frac{3 b^2 B^2 (b c-a d) g^3 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \log ^2\left (\frac{1}{c+d x}\right )}{1000000 d^4}-\frac{B (b c-a d)^3 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{2000000 d^4 (c+d x)^2}+\frac{b B (b c-a d)^2 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{200000 d^4 (c+d x)}+\frac{a b^2 B g^3 \log (a+b x) \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{500000 d^3}+\frac{b^2 B (b c-a d) g^3 \log (a+b x) \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )}{200000 d^4}+\frac{b^3 g^3 x \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{1000000 d^3}+\frac{(b c-a d)^3 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{2000000 d^4 (c+d x)^2}-\frac{3 b (b c-a d)^2 g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}{1000000 d^4 (c+d x)}+\frac{9 b^2 B^2 (b c-a d) g^3 \log (c+d x)}{2000000 d^4}+\frac{3 b^2 B^2 (b c-a d) g^3 \log ^2(a+b x) \log (c+d x)}{1000000 d^4}+\frac{b^3 B^2 c g^3 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \log (c+d x)}{500000 d^4}+\frac{3 A b^2 B (b c-a d) g^3 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \log (c+d x)}{500000 d^4}+\frac{b^2 B^2 (b c-a d) g^3 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \log (c+d x)}{200000 d^4}+\frac{3 b^2 B^2 (b c-a d) g^3 \log (a+b x) \log \left (\frac{1}{c+d x}\right ) \log (c+d x)}{500000 d^4}-\frac{3 b^2 B^2 (b c-a d) g^3 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \left (\log (a+b x)+\log \left (\frac{1}{c+d x}\right )-\log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{500000 d^4}-\frac{b^3 B c g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{500000 d^4}-\frac{b^2 B (b c-a d) g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{200000 d^4}-\frac{3 b^2 (b c-a d) g^3 \left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2 \log (c+d x)}{1000000 d^4}-\frac{b^3 B^2 c g^3 \log ^2(c+d x)}{1000000 d^4}-\frac{3 A b^2 B (b c-a d) g^3 \log ^2(c+d x)}{1000000 d^4}-\frac{b^2 B^2 (b c-a d) g^3 \log ^2(c+d x)}{400000 d^4}+\frac{3 b^2 B^2 (b c-a d) g^3 \log (a+b x) \log ^2(c+d x)}{1000000 d^4}-\frac{3 b^2 B^2 (b c-a d) g^3 \log \left (\frac{e (a+b x)}{c+d x}\right ) \log ^2(c+d x)}{1000000 d^4}-\frac{b^2 B^2 (b c-a d) g^3 \log ^3(c+d x)}{1000000 d^4}+\frac{a b^2 B^2 g^3 \log (a+b x) \log \left (\frac{b (c+d x)}{b c-a d}\right )}{500000 d^3}+\frac{b^2 B^2 (b c-a d) g^3 \log (a+b x) \log \left (\frac{b (c+d x)}{b c-a d}\right )}{200000 d^4}-\frac{3 b^2 B^2 (b c-a d) g^3 \log ^2(a+b x) \log \left (\frac{b (c+d x)}{b c-a d}\right )}{1000000 d^4}+\frac{a b^2 B^2 g^3 \text{Li}_2\left (-\frac{d (a+b x)}{b c-a d}\right )}{500000 d^3}+\frac{b^2 B^2 (b c-a d) g^3 \text{Li}_2\left (-\frac{d (a+b x)}{b c-a d}\right )}{200000 d^4}-\frac{3 b^2 B^2 (b c-a d) g^3 \log (a+b x) \text{Li}_2\left (-\frac{d (a+b x)}{b c-a d}\right )}{500000 d^4}+\frac{b^3 B^2 c g^3 \text{Li}_2\left (\frac{b (c+d x)}{b c-a d}\right )}{500000 d^4}+\frac{3 A b^2 B (b c-a d) g^3 \text{Li}_2\left (\frac{b (c+d x)}{b c-a d}\right )}{500000 d^4}+\frac{b^2 B^2 (b c-a d) g^3 \text{Li}_2\left (\frac{b (c+d x)}{b c-a d}\right )}{200000 d^4}+\frac{3 b^2 B^2 (b c-a d) g^3 \log \left (\frac{1}{c+d x}\right ) \text{Li}_2\left (\frac{b (c+d x)}{b c-a d}\right )}{500000 d^4}-\frac{3 b^2 B^2 (b c-a d) g^3 \left (\log (a+b x)+\log \left (\frac{1}{c+d x}\right )-\log \left (\frac{e (a+b x)}{c+d x}\right )\right ) \text{Li}_2\left (\frac{b (c+d x)}{b c-a d}\right )}{500000 d^4}+\frac{3 b^2 B^2 (b c-a d) g^3 \text{Li}_3\left (-\frac{d (a+b x)}{b c-a d}\right )}{500000 d^4}+\frac{3 b^2 B^2 (b c-a d) g^3 \text{Li}_3\left (\frac{b (c+d x)}{b c-a d}\right )}{500000 d^4}\\ \end{align*}
Mathematica [B] time = 7.81528, size = 6052, normalized size = 9.53 \[ \text{Result too large to show} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 2.443, size = 0, normalized size = 0. \begin{align*} \int{\frac{ \left ( bgx+ag \right ) ^{3}}{ \left ( dix+ci \right ) ^{3}} \left ( A+B\ln \left ({\frac{e \left ( bx+a \right ) }{dx+c}} \right ) \right ) ^{2}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{A^{2} b^{3} g^{3} x^{3} + 3 \, A^{2} a b^{2} g^{3} x^{2} + 3 \, A^{2} a^{2} b g^{3} x + A^{2} a^{3} g^{3} +{\left (B^{2} b^{3} g^{3} x^{3} + 3 \, B^{2} a b^{2} g^{3} x^{2} + 3 \, B^{2} a^{2} b g^{3} x + B^{2} a^{3} g^{3}\right )} \log \left (\frac{b e x + a e}{d x + c}\right )^{2} + 2 \,{\left (A B b^{3} g^{3} x^{3} + 3 \, A B a b^{2} g^{3} x^{2} + 3 \, A B a^{2} b g^{3} x + A B a^{3} g^{3}\right )} \log \left (\frac{b e x + a e}{d x + c}\right )}{d^{3} i^{3} x^{3} + 3 \, c d^{2} i^{3} x^{2} + 3 \, c^{2} d i^{3} x + c^{3} i^{3}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (b g x + a g\right )}^{3}{\left (B \log \left (\frac{{\left (b x + a\right )} e}{d x + c}\right ) + A\right )}^{2}}{{\left (d i x + c i\right )}^{3}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]